﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Admin.Master" AutoEventWireup="true"
    CodeBehind="ViewJobs.aspx.cs" Inherits="Qianwei.Web.Admins.ViewJobs" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table id="mainpage" width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td height="30">
                <%--<table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="62" background="/images/nav04.gif">
                            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="21">
                                        <img src="/images/ico07.gif" width="20" height="18" />
                                    </td>
                                    <td width="550">
                                        查看内容：按时间：
                                        <input name="textfield" type="text" size="12" readonly="readonly" /><span class="newfont06">至</span>
                                        <input name="textfield" type="text" size="12" readonly="readonly" />
                                        <input name="Submit" type="button" class="right-button02" value="查 询" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>--%>
            </td>
        </tr>
        <tr>
            <td>
                <table id="datatable" width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td height="20">
                                        <%--<span class="newfont07">选择：<a href="#" class="right-font08" onclick="selectAll();">全选</a>-<a
                                            href="#" class="right-font08" onclick="unselectAll();">反选</a></span>
                                        <input name="Submit3" type="button" class="right-button08" value="删除所选信息" />--%>
                                        <%--<input name="Submit2" type="button" class="right-button08" value="新建信息" onclick="link();" />--%>
                                        <input type="button" class="right-button08" value="新建信息" onclick="location.href='AddJob.aspx'" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="height: 10px;">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="font42">
                                        <asp:Repeater ID="r_jobs" runat="server">
                                            <ItemTemplate>
                                                <table width="629" cellspacing="0" cellpadding="0" bordercolor="#808080" border="1"
                                                    style="border-collapse: collapse; font-size: 12px; color: #636363;">
                                                    <tr>
                                                        <td width="115" bgcolor="#F3F3DE">
                                                            <div align="center">
                                                                招聘对象</div>
                                                        </td>
                                                        <td width="510" bgcolor="#F8FCF8">
                                                            <%#DataBinder.Eval(Container.DataItem, "Job_Position") %>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="115" bgcolor="#F3F3DE">
                                                            <div align="center">
                                                                工作地点</div>
                                                        </td>
                                                        <td width="510" bgcolor="#F8FCF8">
                                                            <%#DataBinder.Eval(Container.DataItem, "Job_Address")%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="115" bgcolor="#F3F3DE">
                                                            <div align="center">
                                                                工资待遇</div>
                                                        </td>
                                                        <td width="510" bgcolor="#F8FCF8">
                                                            <%#DataBinder.Eval(Container.DataItem, "Job_Treatment")%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="115" bgcolor="#F3F3DE">
                                                            <div align="center">
                                                                发布时间</div>
                                                        </td>
                                                        <td width="510" bgcolor="#F8FCF8">
                                                            <%#DataBinder.Eval(Container.DataItem, "Publish_Time", "{0:yyyy-MM-dd}")%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="115" bgcolor="#F3F3DE">
                                                            <div align="center">
                                                                有效期限</div>
                                                        </td>
                                                        <td width="510" bgcolor="#F8FCF8">
                                                            <%#DataBinder.Eval(Container.DataItem, "Effective_Duration", "{0:yyyy-MM-dd}")%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="115" height="22" bgcolor="#F3F3DE">
                                                            <div align="center">
                                                                招聘要求</div>
                                                        </td>
                                                        <td width="510" bgcolor="#F8FCF8">
                                                            <%#DataBinder.Eval(Container.DataItem, "Job_Requirement")%>
                                                        </td>
                                                    </tr>
                                                    <tr bgcolor="#FFFFFF">
                                                        <td width="627" height="22" colspan="2">
                                                            <div align="right">
                                                                <%--<input name="Submit3" type="button" class="right-button08" value="删除信息" />--%>
                                                                <input type="button" class="right-button08" value="编辑" onclick='UpdateJob(<%#DataBinder.Eval(Container.DataItem, "Job_Id")%>)' />
                                                                <asp:Button runat="server" CssClass="right-button08" Text="删除信息" CommandArgument='<%#DataBinder.Eval(Container.DataItem, "Job_Id")%>' OnClick="btnDel_Click" />
                                                            </div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                
                                            </FooterTemplate>
                                        </asp:Repeater>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: left;">
                                        <webdiyer:AspNetPager ID="AspNetPager" CssClass="pagger" runat="server" OnPageChanging="AspNetPager_PageChanging"
                                            AlwaysShow="true" PageSize="2" LastPageText="末页" FirstPageText="首页" PrevPageText="上一页"
                                            NextPageText="下一页">
                                        </webdiyer:AspNetPager>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <div id="loadingmsg" style="width: 100px; height: 18px; top: 0px; display: none;">
        <img src="/images/loadon.gif" />
    </div>
    <script type="text/javascript">
        function UpdateJob(id) {
            redirecturl("AddJob.aspx?jid=" + id);
        }
    </script>
</asp:Content>
